package pws.scv;

import static org.junit.Assert.assertTrue;

import java.util.List;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class AloClasseSwingJUnit {

	private static List<String> lista = new AloClasseSwing().getLista();;
	private static AloClasseSwing classe = new AloClasseSwing();

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		System.out.println("Pegando a lista..");
		classe.putLista();
		lista = classe.getLista();
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void test() {
		System.out.println("Testando...");
		assertTrue(lista.contains("Paulo Roberto"));
	}
}